/**
 * @author liuxin
 * @e-mail lxtobe5@gmail.com
 * @update 2011.11.19
 * @prompt If you find my mistake, please contact with me via my e-mail.
 */
package DesignPattern_sample.StrategyPattern
{
	import flash.display.Sprite;
	
	public class StrategyClient extends Sprite
	{
		private var _context:Context;
		
		public function StrategyClient()
		{
			_context = new Context(new ConcreteStrategy1());
			_context.ContextInterface();
			
			_context = new Context(new ConcreteStrategy2());
			_context.ContextInterface();
			
			_context = new Context(new ConcreteStrategy3());
			_context.ContextInterface();
		}
	}
}